package com.xwltz.core.defines;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@RequestMapping
@Documented
public @interface Api {

	String author() default "";

	String createTime() default "";

	String[] path();

	String name();

	String resultMsg() default "";

	boolean needPackage() default true;

	RequestMethod[] method() default {};
}
